What is singleton?
2018
10-Feb-2014
Sumit Kesarwani
10-Feb-2014It is one of the design pattern. This falls in the creational pattern of the design pattern. There will be only one instance for that entire JVM. You can achieve this by having the private constructor in the class.